package com.express.sys.mapper;

import com.express.entity.Permission;
import com.express.service.GenericDao;

import java.util.List;
import java.util.Map;

/**
 * 权限 Dao 接口
 *
 * @author zhouling
 * @since 2018年7月5日 上午11:59:03
 **/
public interface PermissionMapper extends GenericDao<Permission, String> {

	 int deleteByPrimaryKey(Integer paramInteger);

	 int insert(Permission paramPermission);

	 @Override
	 int insertSelective(Permission paramPermission);

	 Permission selectByPrimaryKey(Integer paramInteger);

	 @Override
	 int updateByPrimaryKeySelective(Permission paramPermission);

	 int updateByPrimaryKey(Permission paramPermission);

	 List<Permission> selectMenuList();

	 List<Permission> checkCode(Permission paramPermission);

	List<Permission> getMenuByRoleId(String roleId);

	List<Permission> getBtn(Map<String, Object> map);

	Permission getMenuByMenuUrl(String menuUrl);
}